package com.marvels.dubbo.externalservice.controller;

import com.marvels.dubbo.externalservice.service.ProvidentFundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RequestMapping("dubbo/external/providentFund/api")
@RestController
public class ProvidentFundController {
	
	@Autowired
	private  ProvidentFundService providentFundService;
	
	@ResponseBody
	@RequestMapping("listgjj")
	public List<Map<String, Object>> listgjj(@RequestBody Map<String, String> map) {
		return providentFundService.listgjj(map);
	}
}
